import { createApp } from 'vue'
import { createPinia } from 'pinia'
import Antd from 'ant-design-vue';
import App from './App.vue';
import 'ant-design-vue/dist/antd.css';

// 引入 vue-router 
import vueRouter from './router';
import piniaPlugin from './store/plugin';

// 引入 pinia
const pinia = createPinia()
pinia.use(piniaPlugin({ key: 'pinia' }))


createApp(App)
  .use(vueRouter)
  .use(Antd)
  .use(pinia)
  .mount('#app')
